home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 14
/
014.d81
/
t.sprite editor
< prev
next >
Wrap
Text File
|
2022-08-26
|
2KB
|
94 lines
SPRITE EDITOR
Written by: Thomas Markel
This program allows for the easy
creation, editing, loading and saving
of sprites. Some of its features are:
- Grid layout to build sprite in
- Display of corresponding poke
values
- Column and row number displayed
- Top line command line
- Help mode
- Display of sprite being built
All of your options are visable on
the top line of the screen while
running the program. Help is provided
by typing the 'H' key. You 'scroll'
through HELP by using the cursor
keys (cursor left => page forward,
cursor down => page back).
The arrow in the grid is controlled
by the joystick or via the keyboard.
Use the joystick in Port 2 or use the
cursor keys for movement.
The program saves the sprite as a
SEQuential file. To use the sprite,
simply OPEN the file, INPUT the data
and POKE the data into the correct
memory locations. For example, the
following program segment will INPUT
the data from a file called 'MYCAR'
and store it in sprite block 13:
10 OPEN 2,8,2,"MYCAR" : REM OPEN FILE
20 FOR X=0 TO 62
30 INPUT#2,A : REM INPUT DATA
40 POKE 832+X,A : REM 13*64=832
50 NEXT X
60 CLOSE 2 : REM CLOSE FILE
70 :
80 REM YOUR PROGRAM CONTINUES HERE
90 REM AND FIXES ALL THE THINGS THAT
92 REM ARE NECESSARY FOR SPRITES.
94 :
By the way, the file 'MYCAR' is
really on this issue of LOADSTAR. It
can be found on Side 1. It was
created by Thomas Markel.
Files used: SPRITE EDITOR
--------------------------------------